<include file="Base/header" />
<div class="js-check-wrap">
	<form class="wrap js-ajax-form" method='post'>
		<div class="table-actions">
			<eq name='ipLimitStatus' value='1'>
				<button class="btn js-ajax-submit" type="submit" data-action="{:U('setLimit',['status'=>0])}">关闭ip限制</button>
			<else />
				<button class="btn js-ajax-submit" type="submit" data-action="{:U('setLimit',['status'=>1])}">开启ip限制</button>
			</eq>
		</div>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tab" class='js-check-wrap'>
			<thead>
				<tr>
					<th width="50">ID</th>
					<th width="200">IP</th>
					<th width="100">备注</th>
					<th width="50">添加时间</th>
					<th width="100">操作</th>
				</tr>
			</thead>
			<foreach name="list" item="vo">
			<tr>
				<td>{$vo.id}</td>
				<td>{$vo.ip}</td>
				<td>{$vo.remark}</td>
				<td>{$vo.created_time}</td>
				<td>
					<a href="{:U('edit',array('id'=>$vo['id']))}">编辑</a>
					<a href="{:U('delete',array('ids'=>$vo['id']))}" class="ajax-get confirm">删除</a>
				</td>
			</tr>
			</foreach>
		
		</table>	
	
	</form>

</div>


<include file="Base/footer" />
</body>
</html>